package com.yq.bdm.service;

import java.util.List;
import java.util.Map;

import com.yq.bdm.entity.RoleInfoEntity;

/**
 * 角色表
 * 
 * @author yuq
 * @date 2017-07-21 16:35:14
 */
public interface RoleInfoService {
	
	RoleInfoEntity queryObject(Long id);
	
	List<RoleInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(RoleInfoEntity roleInfo);
	
	void update(RoleInfoEntity roleInfo);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	void deleteBatchByRoleId(Long[] roleIds);
	
	RoleInfoEntity queryObjectByRoleId(Long roleId);
}
